<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>下载App</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<meta name="keywords" content="翻倍花，O2O，第三方推广，服务平台">
    <meta name="description" content="翻贝网致力于打造国内最具公信力的第三方推广和服务平台">
    <link rel="stylesheet" href="{{ env('CSS_DOMAIN') }}/css/public.css?v={{env('CSS_VERSION')}}">
    <script src="{{ env('JS_DOMAIN') }}/js/adaptation.js?v={{env('JS_VERSION')}}"></script>
    <style>
		.down_mark{width: 100%;position: fixed;top: 0;left: 0;background: rgba(62,58,57,0.8);z-index: 10;display: none;}
		.down_mark p{width: 100%;height: 0.3rem;background: #393a3e;}
		.down_mark img{position: absolute;top: 0;left: 0;width: 10.8rem;height: 3.4rem;}
		.gotodown_icon{width: 10.8rem;float: left;height: 12.5rem;}
		.gotodown_infor span{font-size: 0.5rem;float: left;}
		.gotodown_infor input{font-size: 0.5rem;float: left;margin: 0 0.7rem;background-color: transparent;color: #fff;}
		.gotodown_appbtnp{width: 9.6rem;height: 1.2rem;background-color: #fff;color: #9955c6;font-size: 0.56rem;border-radius: 0.2rem;text-align: center;line-height: 1.2rem;position: absolute;top: 0.7rem;left: 0.6rem;}
		.bag_gotodown{background-color: #8355a0;float: left;width: 100%;min-height: 3.5rem;}
		.gotodown_btn{position: relative;}
		.shopname{font-size: 0.55rem;color: #f2f279;text-align: center;width: 7rem;margin: 0 auto;}
	</style>
</head>
<body>
	<div class="down_mark">
		<p></p>
		<img src="{{env('IMAGE_DOMAIN')}}images/shop/arrow.png?v={{env('IMAGE_VERSION')}}" alt="">
	</div>
	<img class="gotodown_icon" src="{{env('IMAGE_DOMAIN')}}images/shop/gotodown_bg.jpg" alt="">
	<div class="bag_gotodown">
		<p class="shopname">{{$shopname}}</p>
		<div class="gotodown_btn">
			@if($isweixin == 1)
				@if($platform == 'iOS')
					<a class="gotodown_appbtnp fz_50 co_violet" href="https://itunes.apple.com/cn/app/id1172353317">下载翻贝网App</a>
				@elseif($platform == 'Android')
					<p class="gotodown_appbtnp fz_50 co_violet">下载翻贝网App</p>
				@else
					<p class="gotodown_appbtnp fz_50 co_violet">下载翻贝网App</p>
				@endif
			@else
				@if($platform == 'iOS')
					<a class="gotodown_appbtnp fz_50 co_violet" href="https://itunes.apple.com/cn/app/id1172353317">下载翻贝网App</a>
				@elseif($platform == 'Android')
					<a class="gotodown_appbtnp fz_50 co_violet" href="http://file.fbw-china.com/download/fbw.apk">下载翻贝网App</a>
				@else
					<a class="gotodown_appbtnp fz_50 co_violet" href="http://file.fbw-china.com/download/fbw.apk">下载翻贝网App</a>
				@endif
			@endif
		</div>
	</div>
<script src="{{env('JS_DOMAIN')}}js/jquery-1.11.1.min.js?v={{env('JS_VERSION')}}"></script>
<script>
    var isweixin = '{{$isweixin}}'; //‘1’表示微信，‘0’表示不是微信
    var platform = '{{$platform}}';
    var wheight = $(window).height();
    var titleheight = $(".gotodown_icon").height();
	window.onresize=function(){
		pagesp();
        wheight = $(window).height();
    }
    $(function(){
        var paysu_outer_h=$(window).height();
        $(".paysu_outer").css({"min-height":paysu_outer_h});
        $(".bag_gotodown").height(wheight-titleheight)
    })
    $(function(){
        if (isweixin == '1' && platform != "iOS") {
            $('.gotodown_appbtnp').click(function(){
                $('.down_mark').height(wheight);
                $('.down_mark').show();
            });
        }
        var paysu_outer_h=$(window).height();
        $(".paysu_outer").css({"min-height":paysu_outer_h});
    })
</script>
</body>
</html>